<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	    <base href="<%=basePath%>">
	    <title></title>
		<meta charset="utf-8" />
		<link rel="stylesheet" type="text/css" charset="UTF-8" href="css/login.css" />
		<link rel="stylesheet" type="text/css" charset="UTF-8" href="css/public.css"/>
		<script type="text/javascript" src="js/jquery-1.11.0.js" charset="UTF-8"></script>	
		<script type="text/javascript" src="js/style.js" charset="UTF-8"></script>
	</head>
	<body>
		<div id="head" class="gradient clear">
			<div class="fl" id="log">
				<a id="logo" href="index.jsp"></a>
			</div>
		</div>
		<div id="main" class="clear">
		
			<div id="message">
				<span style="color:#0aa;">系统使用说明：</span><br />
				* 账号说明：教职工为新工号,学生为学号。<br />   
				* 密码说明：初始密码与个人身份证号相关，15位的取最后6位作为密码；<br />
				18位的取12~17位作为密码；如果不成功则以账号为初始化密码；如尝试以上密码不能登录，请联系管理员（<a href="#" target="_blank">点击查看联系方式</a>）。<br />
                * <span style="color:#0aa;">18位身份证截取示例：</span>
                <img src="img/id.gif" width="218" height="35" vspace="10" align="absmiddle" title="18位身份证实例" style="vertical-align: middle;" />
			</div>
			<div id="login">
				<form class="login" name="login" action="${pageContext.request.contextPath}/LoginServlet" method="post" onsubmit="return check(this);">
					<h2 style="color: #787D82;">登录</h2>
				    <input type="text" name="account" class="login-input ipt content" placeholder="账号" autofocus>
				    <div id="account_error"></div>
				    <input type="password" name="password" class="login-input ipt content" placeholder="密码">
				    <div id="password_error"></div>
				    <input type="submit" class="login-submit btn" value="登　录"></input>
				    <input type="reset" class="btn" value="重　置"></input>
				</form>
			</div>
		</div>
	</body>
</html>
